SftTree/NET 2.0

PrevSibling Property, ItemClass Class

Softel vdm, Inc.

Returns the item's previous sibling item.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property PrevSibling As ItemClass

C#   

public ItemClass PrevSibling { get; }

C++   

public: property ItemClass^ PrevSibling {
        ItemClass^ get();
}

Property Value

The previous sibling item or null/Nothing if there is no sibling item.

Comments

The PrevSibling property returns the item's previous sibling item.

The previous sibling of the item is found by scanning towards the beginning of the tree control and locating an item on the same level (ItemClass.Level property) as the current item without encountering a parent item on a higher level.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com